6d3fbbdf1b655a8f68d7ef43a731b78bcbd3e40a,src/main/java/com/continuuity/data/table/converter/ColumnarOnVersionedColumnarTable.java,ColumnarOnVersionedColumnarTable,compareAndSwap,#number[]#number[]#number[]#number[]#,71
Before Change
byte[] expectedValue, byte[] newValue) {
long now = this.oracle.getTimestamp();
try {
return this.table.compareAndSwap(row, column, expectedValue, newValue,
new SimpleReadPointer(now), now);
} catch (com.continuuity.api.data.OperationException e) {
e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates.
}
After Change
throws OperationException {
long now = this.oracle.getTimestamp();
this.table.compareAndSwap(row, column, expectedValue, newValue,
new SimpleReadPointer(now), now);
}
}